package com.foxchen.ddns.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "cpu-check-config")
@Getter
@Setter
@ToString
public class CpuCheckConfig {
    private Integer durationTime;
    private Integer singleRecord;
    private Integer threshold;
    private String emailAddress;
    private String emailTile;
    private String emailMsg;
}
